package com.feng.system.service;

import com.feng.mbg.domain.SysPermission;

import java.util.List;
import java.util.Set;

/**
 * @author Feng
 * @since 2022/4/20 18:22
 */
public interface PermissionService {

    List<SysPermission> getAllPermissions();

    void addPermission(String name, String key);

    void updatePermission(Long id, String name, String key);

    void deletePermissionByIds(Set<Long> ids);
}
